package com.example.tool.activtiy;

import android.view.View;
import android.widget.ImageView;

import com.example.tool.R;
import com.example.tool.activtiy.base.BaseActivity;
import com.example.tool.mvp.CommonPresent;

import butterknife.BindView;

/**
 * Created Date 2019/8/27
 *
 * @author liangkun
 * description：
 */
public class BottomActivity extends BaseActivity<CommonPresent> {
    @BindView(R.id.iv_cancel)
    protected ImageView button;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_pop;
    }

    @Override
    protected void initView() {
        setFinishOnTouchOutside(false);//点击空白处，窗体不关闭
    }

    @Override
    protected void initData() {
        //测试分支到主干
    }

    @Override
    protected void initEvent() {
        button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();

            }
        });

    }

    @Override
    protected CommonPresent createPresenter() {
        return null;
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
    }
}
